#MyDjango2/urls.py
from django.contrib import admin
from django.urls import path,include


urlpatterns = [
    #指向myapp的路由文件urls.py
    path("",include(('myapp.urls','myapp'),namespace='myapp'))#使用命名空间
]

